<?php

namespace app\model;

class StationMemberInfo extends LoginCommon
{
    protected static $obj;

    public function _initialize()
    {
        parent::_initialize();
        $this->db_name = 'station_member_info';
    }

    /**
     * 类入口
     * @return StationMemberInfo
     */
    public static function getInstance()
    {
        if (is_null(self::$obj))
            self::$obj = new self();
        return self::$obj;
    }

    /**
     * 快速注册
     */
    public function fastRegister($str_mobile)
    {
        $arr_data = [
            'mobile' => $str_mobile,
        ];
        return $this->toAdd($arr_data);
    }
}
